package com.lsh.airticket.service;

import com.lsh.airticket.entity.ModelSpace;
import com.lsh.airticket.entity.OneModelAllSpace;

import java.util.List;

/**
 * @author lsh
 * @date 2021/2/18
 **/
public interface ModelSpaceService {

    //通过 model 查找所有的 space
    List<OneModelAllSpace> ModelSpaceDao(Integer modelId);

    //插入一条数据
    int insertTbModelSpace(ModelSpace modelSpace);

    // 通过联合主键删除
    int deleteModelSpaceById(Integer modelId, Integer spaceId);
}
